package contest.experiment;

import java.lang.reflect.Method;

import org.junit.Test;

import com.ibm.contest.instrumentation.Instrument;

public class ContestTest {
    @Test
    public void testname() throws Exception {
        Instrument instrument = new Instrument();
        Method[] methods = instrument.getClass().getDeclaredMethods();
        for (Method method : methods)
            System.out.printf("%s\n", method.getName());
    }

    @Test
    public void reverseCompileInstrument() throws Exception {
        Class<?> claxx = Class.forName("moca.Decompiler");
        Method main = claxx.getMethod("main", new Class[] { String[].class });
        main.invoke(null, new String[] {});
    }
}
